home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 6 / The Arsenal Files 6 (Arsenal Computer).ISO / os2 / mnicon2.zip / MNICON.H < prev    next >
C/C++ Source or Header  |  1996-02-06  |  4KB  |  167 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: MNIcon.h.
  5.  * Generated using:
  6.  *     SOM Precompiler spc: 1.22
  7.  *     SOM Emitter emith: 1.11
  8.  */
  9.  
  10. /*
  11.  *   MNIcon class release 1.0 (02/21/93) by Makoto Nagata
  12.  */
  13.  
  14.  
  15. #ifndef MNIcon_h
  16. #define MNIcon_h
  17.  
  18.  
  19. #include <som.h>
  20.  
  21. /*
  22.  * Define the class name as an object type
  23.  */
  24. #ifndef MNIcon
  25. #define MNIcon SOMAny
  26. #endif
  27. #include "wpicon.h"
  28.  
  29. #define MNIcon_MajorVersion 1
  30. #define MNIcon_MinorVersion 1
  31.  
  32. /*
  33.  * External name shortening if required
  34.  */
  35. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  36. #define MNIconNewClass mniconc
  37. #pragma linkage(mniconc, system)
  38. #define MNIconClassData mnicond
  39. #define MNIconCClassData mniconx
  40. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  41. /*--------------Migration------------*/
  42. #define MNIcon_classObj MNIconClassData.classObject
  43. #define _MNIcon MNIcon_classObj
  44.  
  45. /*
  46.  * New and Renew macros for MNIcon
  47.  */
  48. #define _MNIconNew() (_somNew(MNIconClassData.classObject))
  49. #define MNIconNew() \
  50.     ( MNIconClassData.classObject \
  51.         ? _MNIconNew() \
  52.         : ( MNIconNewClass(MNIcon_MajorVersion, MNIcon_MinorVersion), _MNIconNew() ) )
  53. #define MNIconRenew(buf) \
  54.     ( _somRenew(MNIconClassData.classObject, buf) )
  55.  
  56. /*
  57.  * Override method: wpDragOver
  58.  */
  59. #define MNIcon_wpDragOver(somSelf,hwndCnr,pdrgInfo) \
  60.     WPObject_wpDragOver(somSelf,hwndCnr,pdrgInfo)
  61.  
  62. /*
  63.  * Override method: wpDrop
  64.  */
  65. #define MNIcon_wpDrop(somSelf,hwndCnr,pdrgInfo,pdrgItem) \
  66.     WPObject_wpDrop(somSelf,hwndCnr,pdrgInfo,pdrgItem)
  67.  
  68. /*
  69.  * Declare the class creation procedure
  70.  */
  71. SOMEXTERN SOMAny * SOMLINK MNIconNewClass(integer4 scemajorVersion,
  72.         integer4 sceminorVersion);
  73. #pragma linkage(MNIconNewClass, system)
  74.  
  75. /*
  76.  * Declare the class data structure
  77.  */
  78. SOMEXTERN struct MNIconClassDataStructure {
  79.     SOMAny *classObject;
  80. } MNIconClassData;
  81.  
  82. /*
  83.  * Declare the C specific class data structure
  84.  */
  85. SOMEXTERN struct MNIconCClassDataStructure {
  86.     somMethodTab *parentMtab;
  87.     somDToken instanceDataToken;
  88. } MNIconCClassData;
  89.  
  90. #endif       /* MNIcon_h */
  91.  
  92. /*
  93.  * This file was generated by the SOM Compiler.
  94.  * FileName: MNIcon.h.
  95.  * Generated using:
  96.  *     SOM Precompiler spc: 1.22
  97.  *     SOM Emitter emith: 1.11
  98.  */
  99.  
  100. #ifndef MNIcon_mh
  101. #define MNIcon_mh
  102.  
  103.  
  104. /*
  105.  * Define the class name as an object type
  106.  */
  107. #ifndef M_MNIcon
  108. #define M_MNIcon SOMAny
  109. #endif
  110.  
  111. #define M_MNIcon_MajorVersion 1
  112. #define M_MNIcon_MinorVersion 1
  113.  
  114. /*
  115.  * External name shortening if required
  116.  */
  117. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  118. #define M_MNIconNewClass mniconc
  119. #pragma linkage(mniconc, system)
  120. #define M_MNIconClassData mnicond
  121. #define M_MNIconCClassData mniconx
  122. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  123. /*--------------Migration------------*/
  124. #define M_MNIcon_classObj M_MNIconClassData.classObject
  125. #define _M_MNIcon M_MNIcon_classObj
  126.  
  127. /*
  128.  * New and Renew macros for M_MNIcon
  129.  */
  130. #define _M_MNIconNew() (_somNew(M_MNIconClassData.classObject))
  131. #define M_MNIconNew() \
  132.     ( M_MNIconClassData.classObject \
  133.         ? _M_MNIconNew() \
  134.         : ( M_MNIconNewClass(M_MNIcon_MajorVersion, M_MNIcon_MinorVersion), _M_MNIconNew() ) )
  135. #define M_MNIconRenew(buf) \
  136.     ( _somRenew(M_MNIconClassData.classObject, buf) )
  137.  
  138. /*
  139.  * Override method: wpclsQueryTitle
  140.  */
  141. #define M_MNIcon_wpclsQueryTitle(somSelf) \
  142.     M_WPObject_wpclsQueryTitle(somSelf)
  143.  
  144. /*
  145.  * Declare the class creation procedure
  146.  */
  147. SOMEXTERN SOMAny * SOMLINK M_MNIconNewClass(integer4 scemajorVersion,
  148.         integer4 sceminorVersion);
  149. #pragma linkage(M_MNIconNewClass, system)
  150.  
  151. /*
  152.  * Declare the class data structure
  153.  */
  154. SOMEXTERN struct M_MNIconClassDataStructure {
  155.     SOMAny *classObject;
  156. } M_MNIconClassData;
  157.  
  158. /*
  159.  * Declare the C specific class data structure
  160.  */
  161. SOMEXTERN struct M_MNIconCClassDataStructure {
  162.     somMethodTab *parentMtab;
  163.     somDToken instanceDataToken;
  164. } M_MNIconCClassData;
  165.  
  166. #endif       /* MNIcon_h */
  167.